package cn.hacz.edu.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * The class/interface
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_car")
public class Car {
    /**
    * 主键ID
    */
    private Integer id;

    /**
    * 创建时间
    */
    private Date createDate;

    /**
    * 用户名
    */
    private String name;

    private Integer userId;
    @TableField(exist = false)
    private String userName;
}
